package io;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

/**
 * JAVA IO
 * I：INPUT
 * O：OUTPUT
 */
public class FOSDemo {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos = new FileOutputStream("./fos.dat");
        fos.write(1);
        fos.write(5);
        System.out.println("完毕");
        fos.close();
    }
}
